AmeliaBooking\Application\Services\Booking\AppointmentApplicationService D

Total Complexity 197
Dependencies 27
Dependents 0
Total lines 1,397
Lines of code 793
Logical lines of code 366
Comment lines 342
Methods 25
Properties 1

Methods 25

Method Rating Maintainability Complexity Lines of code
update()
C
30 29 108
addOrEditAppointment()
C
31 27 111
bookingDetailsChanged()
B
43 23 44
processPackageAppointmentBooking()
A
45 12 41
delete()
A
53 12 23
add()
A
40 9 63
isAppointmentStatusChangedWithBooking()
A
43 7 50
removeBookingFromGroupAppointment()
A
40 5 65
getMaximumBookingDuration()
A
58 8 16
canBeBooked()
S
49 7 29
updateBookingStatus()
S
48 6 33
getBookingLengthTime()
S
59 7 13
getAlreadyBookedAppointment()
S
51 6 28
build()
S
49 5 30
getBookingPriceForServiceDuration()
S
61 6 12
getAppointmentLengthTime()
S
59 5 15
manageDeletionParentRecurringAppointment()
S
57 4 17
appointmentDetailsChanged()
S
64 5 10
getAppointmentEntitiesIdsBySearchString()
S
52 3 26
removeBookingFromNonGroupAppointment()
S
52 3 25
convertTime()
S
62 3 12
isAppointmentRescheduled()
S
68 2 7
isAppointmentStatusChanged()
S
79 1 3
calculateAndSetAppointmentEnd()
S
66 1 9
__construct()
S
81 1 3